/* Use buildin zlib to try and fix segfaults. Bug #4777 */
/* Stop using builtin zlib, see if it's fixed */
#define HasZlib                YES
#define HasNCurses             YES
#define HasLibCrypt            YES
#define HasTk                  NO
#define HasTcl                 NO
#define FSUseSyslog            YES
#define HasExpat               YES

#define LocalThreads           YES
#define ThreadedX              YES
#define HasPosixThreads        YES
#define HasThreadSafeAPI       YES

#define HasGcc2ForCplusplus    YES

#define BuildXinerama          YES
#define BuildXineramaLibrary   YES

/* Do not change, as it can break things like gdm */
#define SharedLibXau           YES
/* Needed for 104_all_4.2.1-fix-shared-libXau-link.v2.patch.bz2 */

#define HasFreetype2           YES
#define UseFreetype2           YES
#define Freetype2LibDir        /usr/lib
/* #define BuildFreetype2Library  YES */

/* We PDEPEND on Xft2, and link XFree86 only to the static lib,
   so that we will not have conflicting files for Xft2 from 
   x11-base/xfree and x11-libs/xft ... */
/* #define SharedLibXft           NO */
#define SharedLibXft1          YES

#define BuildFonts             YES
/* #define BuildCyrillicFonts     YES */
#define DefaultCursorTheme	whiteglass
#define BuildXF86MiscExt       YES
#define BuildXInputExt         YES
#define BuildXKB               YES
#define BuildDBE               YES
#define BuildScreenSaverExt    YES
#define BuildRman              YES

#define BuildXF86DRI           YES
/* #define BuildXF86DRM           YES */
#define HasAgpGart             YES
#define BuildGLXLibrary        YES
#define BuildGlxExt            YES
/* #define GlxUseSGISI            YES */
#define BuildGLULibrary        YES
#define SharedLibGLU           YES
#define NormalLibGLU           YES
#define BuildXvExt             YES
#define BuildXF86DGA           YES
#define BuildRender            YES

/* Need this to build libs with -fPIC */
#undef StaticNeedsPicForShared
#undef BuildLibGlxWithoutPIC
#define StaticNeedsPicForShared YES
#define BuildLibGlxWithoutPIC   NO

/* Broken in 4.x */
#define JoystickSupport        NO

#define DoLoadableServer       YES

#define BuildRECORD            YES

#define UseMatroxHal           NO

#define UseConfDirForXkb          NO
/* #define UseConfDirForAppDefaults  NO */

#undef  DefaultUserPath
#define DefaultUserPath        /usr/local/bin:/bin:/usr/bin
#undef  DefaultSystemPath
#define DefaultSystemPath      /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin

#define AdmDir                 /var/log
#define LbxproxyDir            /etc/X11/lbxproxy
#define ProxyManagerDir        /etc/X11/proxymngr
#define ServerConfigDir        /etc/X11/xserver
#define XdmDir                 /etc/X11/xdm
#define XConfigDir             /etc/X11
#define XinitDir               /etc/X11/xinit

/* BOTH XIE and PEX were deprecated in XFree86 4.1.0 and are now obsolete */
#define BuildPhigs      NO
#define BuildPexExt     NO
#define BuildPexLib     NO
#define BuildXIE        NO
#define BuildXIElib     NO

/* required for Lokis Erics Ultimate Solitaire */
#define UseInternalMalloc NO
#define ForceNormalLib YES
#define SharedLibXxf86vm YES
#define SharedLibXxf86dga YES
#define SharedLibXxf86misc YES
#define SharedLibXv YES

/* binutils-2.9 */
#define LinuxBinUtilsMajorVersion 29
/* glibc-2.2 (6.2 because glibc is considered libc-6) */
#define LinuxCLibMajorVersion 6
#define LinuxClibMinorVersion 2
#define XVendorString "Gentoo (The X.Org Foundation 6.8.2, revision r4-0.1.10.2)"
#define ManDirectoryRoot /usr/share/man
#define DocDir /usr/share/doc/xorg-x11-6.8.2-r4
#define FontDir /usr/share/fonts
#define BinDir /usr/bin
#define IncRoot /usr/include
#define LinkGLToUsrInclude NO
#define LibDir /usr/lib/X11
#define UsrLibDir /usr/lib
#define DriverManDir $(MANSOURCEPATH)4
#define DriverManSuffix 4x /* use just one tab or cpp will die */
#define MiscManDir $(MANSOURCEPATH)7
#define MiscManSuffix 7x /* use just one tab or cpp will die */
#define BuildXterm NO
#define InstallXserverSetUID YES
#define BuildServersOnly NO
#define HaveLib64 NO
#define InstSrcDir //usr/src/xorg-x11-6.8.2-r4
#define CcCmd i686-pc-linux-gnu-gcc
#define DoLoadableServer  YES
#define MakeDllModules    NO
#define XFree86Devel NO
#define BuildDebug NO
#define DebuggableLibraries NO
#define HasPam NO
#define HasPamMisc NO
#define HasMMXSupport YES
#define Has3DNowSupport NO
#define HasSSESupport YES
#define BuildGlxExt YES
#define BuildGLXLibrary YES
#define BuildXF86DRI YES
#define BuildGLULibrary YES
#define BuildXvLibrary YES
#define BuildXvExt YES
#define BuildXF86RushExt YES
#define BuildXF86RushLibrary YES
#define UseFontconfig YES
#define HasFontconfig YES
#define SharedLibXft YES
#define BuildLinuxDocPS NO
#define BuildSpecsDocs NO
#define BuildHtmlManPages NO
#define InstallHardcopyDocs NO
#define BuildCyrillicFonts NO
#define BuildArabicFonts NO
#define BuildGreekFonts NO
#define BuildHebrewFonts NO
#define BuildThaiFonts NO
#define Build75DpiFonts YES
#define Build100DpiFonts YES
#define BuildType1Fonts NO
#define BuildTrueTypeFonts NO
#define BuildFontServer NO
#define BuildDmx NO
#define BuildDevelDRIDrivers NO
#define PreferXdmcpIPv6 YES
#define BuildIPv6 YES
#define ForceNormalLib NO
#define NormalLibXau YES
#define BuildDPSLibraries NO
#define BuildClients NO
#define BuildXFree86ConfigTools NO
#define BuildLBX NO
#define XF8_32Wid NO
#define XF8_32Bpp NO
#define XF8_16Bpp NO
#define XF24_32Bpp NO
#define BuildISO8859_2Fonts NO
#define BuildISO8859_3Fonts NO
#define BuildISO8859_4Fonts NO
#define BuildISO8859_9Fonts NO
#define BuildISO8859_10Fonts NO
#define BuildISO8859_13Fonts NO
#define BuildISO8859_14Fonts NO
#define BuildISO8859_15Fonts NO
#define BuildISO8859_16Fonts NO
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define XInputDrivers mouse keyboard
#define XF86CardDrivers vmware vesa vga dummy                                       glint tga s3 s3virge rendition neomagic i740 cirrus tseng                                       ark cyrix siliconmotion mga nv sis tdfx savage GlideDriver 				      nsc i810 ati DevelDrivers via trident chips apm 				      XF86OSCardDrivers XF86ExtraCardDrivers
#define ProPoliceSupport YES
#define BuildXprint NO
#define BuildXprintClients NO
#define BuildXprintLib YES
